package com.example.heimashop.model;

import com.google.gson.annotations.SerializedName;
import java.util.List;

/**
 * 楼层实体类
 */
public class Floor {
    @SerializedName("floor_title")
    private FloorTitle floorTitle;

    @SerializedName("product_list")
    private List<FloorProduct> productList;

    public FloorTitle getFloorTitle() {
        return floorTitle;
    }

    public void setFloorTitle(FloorTitle floorTitle) {
        this.floorTitle = floorTitle;
    }

    public List<FloorProduct> getProductList() {
        return productList;
    }

    public void setProductList(List<FloorProduct> productList) {
        this.productList = productList;
    }

    public static class FloorTitle {
        private String name;

        @SerializedName("image_src")
        private String imageSrc;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImageSrc() {
            return imageSrc;
        }

        public void setImageSrc(String imageSrc) {
            this.imageSrc = imageSrc;
        }
    }

    public static class FloorProduct {
        private String name;

        @SerializedName("image_src")
        private String imageSrc;

        @SerializedName("image_width")
        private String imageWidth;

        @SerializedName("navigator_url")
        private String navigatorUrl;

        @SerializedName("open_type")
        private String openType;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImageSrc() {
            return imageSrc;
        }

        public void setImageSrc(String imageSrc) {
            this.imageSrc = imageSrc;
        }

        public String getImageWidth() {
            return imageWidth;
        }

        public void setImageWidth(String imageWidth) {
            this.imageWidth = imageWidth;
        }

        public String getNavigatorUrl() {
            return navigatorUrl;
        }

        public void setNavigatorUrl(String navigatorUrl) {
            this.navigatorUrl = navigatorUrl;
        }

        public String getOpenType() {
            return openType;
        }

        public void setOpenType(String openType) {
            this.openType = openType;
        }
    }
}
